Forest Fire Agent Model

(Description at the bottom)

Key:
Burning Tree
Tree
Burnt Tree
Time steps elapsed:
Frames per second:
Burning Chance:
Number of rows:
Number of columns:
Cell width (pixels):
Cell height (pixels):
Initial number of burning:
Initial number of tree:

Model Description

Initial State

In a rectangular world, trees exist and a designated amount are placed randomly in the world whenever the model is reset. There is one burning tree, and when the model runs it burns the other ones surrounding it until there are no more regular trees surrounding it.

During Each Time Step

During each time step of the simulation,

  1. Each burning tree looks for trees in the 4 nearest-neighboring cells. If it finds one, it burns it.
  2. Burning trees continue burning until a certain amount of timesteps, and then turn into burnt trees.
  3. The current state of the model is drawn on the screen.

Final State

The simulation runs indefinitely, until the stop button is clicked.

© Shodor 2017